package com.gitee.flwwsg.rpc.client.stubs;

import lombok.Getter;

/**
 * rpc 请求结构
 */
@Getter
public class RPCRequest {
    private final String interfaceName;
    private final String methodName;
    private final byte[] serializedArguments;

    public RPCRequest(String interfaceName, String methodName, byte[] serializedArguments) {
        this.interfaceName = interfaceName;
        this.methodName = methodName;
        this.serializedArguments = serializedArguments;
    }

}
